package com.aixingfu.sports.Model;

import java.util.List;

/**
 * Created by 吕冬冬 on 2019.05.09.
 *
 * @auhtor 吕冬冬
 * email 863964634@qq.com
 * 内容:
 * 修改人：
 * 修改时间：
 * 修改备注：
 */
public class SearchModel extends StateModel{

    /**
     * code : 1
     * data : [{"member_id":"91917","username":"323232","mobile":"18866668088","status":"1","sex":"1","birth_date":"2019-03-15","avatar_url":null,"last_time":"2019-03-06","is_pos":0}]
     * _links : {"self":{"href":"http://qasvideo.xingfufit.cn/v2/api-member/get-member-list?accesstoken=SzTW4fKB0vCgTuSHN-oZBhZZrTGqm4mE_1558235122&keywords=323232&page=1&per-page=5"}}
     * _meta : {"totalCount":1,"pageCount":1,"currentPage":1,"perPage":5}
     */

    private LinksBean _links;
    private MetaBean _meta;
    private List<DataBean> data;



    public LinksBean get_links() {
        return _links;
    }

    public void set_links(LinksBean _links) {
        this._links = _links;
    }

    public MetaBean get_meta() {
        return _meta;
    }

    public void set_meta(MetaBean _meta) {
        this._meta = _meta;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class LinksBean {
        /**
         * self : {"href":"http://qasvideo.xingfufit.cn/v2/api-member/get-member-list?accesstoken=SzTW4fKB0vCgTuSHN-oZBhZZrTGqm4mE_1558235122&keywords=323232&page=1&per-page=5"}
         */

        private SelfBean self;

        public SelfBean getSelf() {
            return self;
        }

        public void setSelf(SelfBean self) {
            this.self = self;
        }

        public static class SelfBean {
            /**
             * href : http://qasvideo.xingfufit.cn/v2/api-member/get-member-list?accesstoken=SzTW4fKB0vCgTuSHN-oZBhZZrTGqm4mE_1558235122&keywords=323232&page=1&per-page=5
             */

            private String href;

            public String getHref() {
                return href;
            }

            public void setHref(String href) {
                this.href = href;
            }
        }
    }

    public static class MetaBean {
        /**
         * totalCount : 1
         * pageCount : 1
         * currentPage : 1
         * perPage : 5
         */

        private int totalCount;
        private int pageCount;
        private int currentPage;
        private int perPage;

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public int getPageCount() {
            return pageCount;
        }

        public void setPageCount(int pageCount) {
            this.pageCount = pageCount;
        }

        public int getCurrentPage() {
            return currentPage;
        }

        public void setCurrentPage(int currentPage) {
            this.currentPage = currentPage;
        }

        public int getPerPage() {
            return perPage;
        }

        public void setPerPage(int perPage) {
            this.perPage = perPage;
        }
    }

    public static class DataBean {
        /**
         * member_id : 91917
         * username : 323232
         * mobile : 18866668088
         * status : 1
         * sex : 1
         * birth_date : 2019-03-15
         * avatar_url : null
         * last_time : 2019-03-06
         * is_pos : 0
         */

        private String member_id;
        private String username;
        private String mobile;
        private String status;
        private String sex;
        private String birth_date;
        private String avatar_url;
        private String last_time;
        private int is_pos;
        private String card_type;
        private String id_card;

        public String getCard_type() {
            return card_type == null ? "" : card_type;
        }

        public void setCard_type(String card_type) {
            this.card_type = card_type;
        }

        public String getId_card() {
            return id_card == null ? "" : id_card;
        }

        public void setId_card(String id_card) {
            this.id_card = id_card;
        }

        public String getAvatar_url() {
            return avatar_url == null ? "" : avatar_url;
        }

        public void setAvatar_url(String avatar_url) {
            this.avatar_url = avatar_url;
        }

        public String getMember_id() {
            return member_id;
        }

        public void setMember_id(String member_id) {
            this.member_id = member_id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getSex() {
            return sex == null ? "" : sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getBirth_date() {
            return birth_date;
        }

        public void setBirth_date(String birth_date) {
            this.birth_date = birth_date;
        }



        public String getLast_time() {
            return last_time;
        }

        public void setLast_time(String last_time) {
            this.last_time = last_time;
        }

        public int getIs_pos() {
            return is_pos;
        }

        public void setIs_pos(int is_pos) {
            this.is_pos = is_pos;
        }
    }
}
